export type StateConfigType = 'start' | 'end' | 'state'

export type FlowEditMode = 'i' | 'v' | 'l'

export interface StateConfig {
  key: string
  type: StateConfigType
  label?: string
  x?: number
  y?: number
}

export interface LinkConfig {
  key: string
  label?: string
  from: string
  to: string
}
